﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HKEA.CMS.Core.Utility;
using HKEA.CMS.Core.Models;
namespace HKEA.CMS.Core.IDAL.Tbl
{
    public interface ItblCust_ContactPerson
    {
        int InsertENT(tblCust_ContactPerson ent);

        List<tblCust_ContactPerson> GetListByENT(tblCust_ContactPerson ent, PageParam param, string strPropertyName,string strOrderBy);

        List<tblCust_ContactPerson> GetListByENT(tblCust_ContactPerson ent);

        List<M_ContactPersonListDetail> GetCPListDetail(List<int> ids, int custUID);

        List<ContactPersonListDetail> GetCPListDetail(int uid);

        int GetCountByENT(tblCust_ContactPerson ent);

        int UpdateENT(tblCust_ContactPerson ent);

        int DeleteENT(tblCust_ContactPerson ent);
    }
}
